package com.dc.ebond3.dao;

import java.util.Date;
import java.util.HashSet;
import java.util.Set;

/**
 * TbApplication entity.
 * 
 * @author MyEclipse Persistence Tools
 */

public class TbApplication implements java.io.Serializable {

	// Fields

	private Long id;
	private String appname;
	private String appalias;
	private String protocol;
	private String ip;
	private String port;
	private String subdir;
	private Date createdate;
	private Long innuse;
	private String department;
	private String username;
	private String password;
	private String para;
	private String url;
	private String province;
	private String city;
	private String address;
	private Set tbSlaveaccounts = new HashSet(0);

	// Constructors

	/** default constructor */
	public TbApplication() {
	}

	/** minimal constructor */
	public TbApplication(String appname, String protocol, String ip,
			Date createdate, String username, String password, String url,
			String province, String city, String address) {
		this.appname = appname;
		this.protocol = protocol;
		this.ip = ip;
		this.createdate = createdate;
		this.username = username;
		this.password = password;
		this.url = url;
		this.province = province;
		this.city = city;
		this.address = address;
	}

	/** full constructor */
	public TbApplication(String appname, String appalias, String protocol,
			String ip, String port, String subdir, Date createdate,
			Long innuse, String department, String username, String password,
			String para, String url, String province, String city,
			String address, Set tbSlaveaccounts) {
		this.appname = appname;
		this.appalias = appalias;
		this.protocol = protocol;
		this.ip = ip;
		this.port = port;
		this.subdir = subdir;
		this.createdate = createdate;
		this.innuse = innuse;
		this.department = department;
		this.username = username;
		this.password = password;
		this.para = para;
		this.url = url;
		this.province = province;
		this.city = city;
		this.address = address;
		this.tbSlaveaccounts = tbSlaveaccounts;
	}

	// Property accessors

	public Long getId() {
		return this.id;
	}

	public void setId(Long id) {
		this.id = id;
	}

	public String getAppname() {
		return this.appname;
	}

	public void setAppname(String appname) {
		this.appname = appname;
	}

	public String getAppalias() {
		return this.appalias;
	}

	public void setAppalias(String appalias) {
		this.appalias = appalias;
	}

	public String getProtocol() {
		return this.protocol;
	}

	public void setProtocol(String protocol) {
		this.protocol = protocol;
	}

	public String getIp() {
		return this.ip;
	}

	public void setIp(String ip) {
		this.ip = ip;
	}

	public String getPort() {
		return this.port;
	}

	public void setPort(String port) {
		this.port = port;
	}

	public String getSubdir() {
		return this.subdir;
	}

	public void setSubdir(String subdir) {
		this.subdir = subdir;
	}

	public Date getCreatedate() {
		return this.createdate;
	}

	public void setCreatedate(Date createdate) {
		this.createdate = createdate;
	}

	public Long getInnuse() {
		return this.innuse;
	}

	public void setInnuse(Long innuse) {
		this.innuse = innuse;
	}

	public String getDepartment() {
		return this.department;
	}

	public void setDepartment(String department) {
		this.department = department;
	}

	public String getUsername() {
		return this.username;
	}

	public void setUsername(String username) {
		this.username = username;
	}

	public String getPassword() {
		return this.password;
	}

	public void setPassword(String password) {
		this.password = password;
	}

	public String getPara() {
		return this.para;
	}

	public void setPara(String para) {
		this.para = para;
	}

	public String getUrl() {
		return this.url;
	}

	public void setUrl(String url) {
		this.url = url;
	}

	public String getProvince() {
		return this.province;
	}

	public void setProvince(String province) {
		this.province = province;
	}

	public String getCity() {
		return this.city;
	}

	public void setCity(String city) {
		this.city = city;
	}

	public String getAddress() {
		return this.address;
	}

	public void setAddress(String address) {
		this.address = address;
	}

	public Set getTbSlaveaccounts() {
		return this.tbSlaveaccounts;
	}

	public void setTbSlaveaccounts(Set tbSlaveaccounts) {
		this.tbSlaveaccounts = tbSlaveaccounts;
	}

}